home *** CD-ROM | disk | FTP | other *** search
- on ugettimetalbe hh, mm, channel
- global gjampdirfilename, ch1, ch2, ch3, ch4, ch5, ch6, ch7, ch8
- set ch1 to ["0000", "0000", "0100", "0100", "0100", "0100", "0300", "0300", "0300", "0300", "0300", "0300", "0600", "0600", "0600", "0600", "0800", "0800", "0800", "0800", "1000", "1000", "1000", "1000", "1200", "1200", "1300", "1300", "1300", "1300", "1300", "1300", "1600", "1600", "1600", "1600", "1800", "1800", "1800", "1800", "2000", "2000", "2000", "2000", "2000", "2000", "2300", "2300"]
- set ch2 to ["0000", "0000", "0000", "0000", "0200", "0200", "0300", "0300", "0400", "0400", "0500", "0500", "0600", "0600", "0700", "0700", "0800", "0800", "0900", "0900", "1000", "1000", "1100", "1100", "1200", "1200", "1200", "1200", "1400", "1400", "1500", "1500", "1600", "1600", "1700", "1700", "1800", "1800", "1900", "1900", "2000", "2000", "2100", "2100", "2100", "2100", "2300", "2300"]
- set ch3 to ["1700", "1700", "1600", "1600", "1900", "1900", "1300", "1300", "1400", "1400", "1500", "1500", "1600", "1600", "1700", "1700", "1800", "1800", "1200", "1200", "1300", "1300", "1400", "1400", "1700", "1700", "1500", "1500", "1600", "1600", "1800", "1800", "1700", "1700", "1200", "1200", "1300", "1300", "1400", "1400", "1500", "1500", "1600", "1600", "1700", "1700", "1800", "1800"]
- set ch5 to ["0000", "0000", "0000", "0000", "0200", "0200", "0200", "0200", "0400", "0400", "0400", "0400", "0600", "0600", "0600", "0600", "0800", "0800", "0800", "0800", "1000", "1000", "1000", "1000", "1200", "1200", "1200", "1200", "1400", "1400", "1400", "1400", "1600", "1600", "1600", "1600", "1800", "1800", "1800", "1800", "2000", "2000", "2000", "2000", "2200", "2200", "2200", "2200"]
- set ch7 to ["2400", "2400", "2400", "2400", "2400", "2400", "2400", "2400", "2400", "2400", "2400", "2400", "0600", "0600", "0600", "0600", "0600", "0600", "0600", "0600", "0600", "0600", "0600", "0600", "1200", "1200", "1200", "1200", "1200", "1200", "1200", "1200", "1200", "1200", "1200", "1200", "1800", "1800", "1800", "1800", "1800", "1800", "1800", "1800", "1800", "1800", "1800", "1800"]
- set listnum to hh * 2
- if mm >= 30 then
- set listnum to listnum + 1
- end if
- set listnum to listnum + 1
- if channel = 1 then
- set gjampdirfilename to "@:P:P" & getAt(ch1, listnum)
- else
- if channel = 2 then
- set gjampdirfilename to "@:Y:Y" & getAt(ch2, listnum)
- else
- if channel = 3 then
- set gjampdirfilename to "@:B:B" & getAt(ch3, listnum)
- else
- if channel = 5 then
- set gjampdirfilename to "T" & getAt(ch5, listnum)
- else
- if channel = 7 then
- set gjampdirfilename to "@:I:I" & getAt(ch7, listnum)
- else
- if channel = 9 then
- set gjampdirfilename to "G_cord"
- end if
- end if
- end if
- end if
- end if
- end if
- return gjampdirfilename
- end
-